﻿namespace QuanLyBanLe
{
    partial class FormOrder
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
            this.dtgBillDetail = new System.Windows.Forms.DataGridView();
            this.colRowNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colProductType = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.colProducer = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.colProduct = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.colBarcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colDiscount = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colSalePrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colTotalPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colWarrantyTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colBillDetailId = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colDelete = new System.Windows.Forms.DataGridViewButtonColumn();
            this.btnCreateBill = new System.Windows.Forms.Button();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.btnPaid = new System.Windows.Forms.Button();
            this.lblReturnMoney = new System.Windows.Forms.Label();
            this.txtGivenMoney = new System.Windows.Forms.TextBox();
            this.label18 = new System.Windows.Forms.Label();
            this.label9 = new System.Windows.Forms.Label();
            this.btnAddProduct = new System.Windows.Forms.Button();
            this.lblCreateTime = new System.Windows.Forms.Label();
            this.lblTotalPrice = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.txtPhoneNumber = new CustomControls.NumericTextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.txtAddress = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.txtCustomerName = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.btnPrintBill = new System.Windows.Forms.Button();
            this.btnSaveBill = new System.Windows.Forms.Button();
            this.btnClose = new System.Windows.Forms.Button();
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.btnDeleteBill = new System.Windows.Forms.Button();
            this.cboKhachHang = new System.Windows.Forms.ComboBox();
            this.label8 = new System.Windows.Forms.Label();
            this.tabPage3 = new System.Windows.Forms.TabPage();
            this.lblTotalReturn2 = new System.Windows.Forms.Label();
            this.label11 = new System.Windows.Forms.Label();
            this.btnReturnProduct2 = new System.Windows.Forms.Button();
            this.dtpReturnDate2 = new System.Windows.Forms.DateTimePicker();
            this.label15 = new System.Windows.Forms.Label();
            this.txtComment2 = new System.Windows.Forms.RichTextBox();
            this.label17 = new System.Windows.Forms.Label();
            this.btnSaveReturn2 = new System.Windows.Forms.Button();
            this.dtgReturnProducts2 = new System.Windows.Forms.DataGridView();
            this.colRowNumber4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colProduct4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colSalePrice4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colAmountReturn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colMaxAmount4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colTotalPrice4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colDelete4 = new System.Windows.Forms.DataGridViewButtonColumn();
            this.colBillDetailId4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.btnAddReturnProduct2 = new System.Windows.Forms.Button();
            this.btnFindBill2 = new System.Windows.Forms.Button();
            this.lblTime2 = new System.Windows.Forms.Label();
            this.label16 = new System.Windows.Forms.Label();
            this.lblCustomerName2 = new System.Windows.Forms.Label();
            this.label14 = new System.Windows.Forms.Label();
            this.lblTotalPrice2 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.dtgBillDetail2 = new System.Windows.Forms.DataGridView();
            this.colRowNumber2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colProduct2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colAmount2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colSalePrice2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colTotalPrice2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colBillDetailId2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.label13 = new System.Windows.Forms.Label();
            this.txtBillId2 = new CustomControls.NumericTextBox();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.btnNewReturnProduct = new System.Windows.Forms.Button();
            this.lblTotalReturnProductPrice = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.dtpReturnDate = new System.Windows.Forms.DateTimePicker();
            this.label10 = new System.Windows.Forms.Label();
            this.txtComment = new System.Windows.Forms.RichTextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.btnReturnProductSave = new System.Windows.Forms.Button();
            this.dtgReturnProducts = new System.Windows.Forms.DataGridView();
            this.colRowNumber3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colProductType3 = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.colProducer3 = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.colProduct3 = new System.Windows.Forms.DataGridViewComboBoxColumn();
            this.colMaxAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colAmountReturn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colSalePrice3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colTotalPrice3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.colDelete3 = new System.Windows.Forms.DataGridViewButtonColumn();
            this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
            this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewButtonColumn1 = new System.Windows.Forms.DataGridViewButtonColumn();
            this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewButtonColumn2 = new System.Windows.Forms.DataGridViewButtonColumn();
            ((System.ComponentModel.ISupportInitialize)(this.dtgBillDetail)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.tabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dtgReturnProducts2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtgBillDetail2)).BeginInit();
            this.tabPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dtgReturnProducts)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
            this.SuspendLayout();
            // 
            // dtgBillDetail
            // 
            dataGridViewCellStyle1.BackColor = System.Drawing.Color.LimeGreen;
            this.dtgBillDetail.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dtgBillDetail.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
            this.dtgBillDetail.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dtgBillDetail.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.colRowNumber,
            this.colProductType,
            this.colProducer,
            this.colProduct,
            this.colBarcode,
            this.colAmount,
            this.colPrice,
            this.colDiscount,
            this.colSalePrice,
            this.colTotalPrice,
            this.colWarrantyTime,
            this.colBillDetailId,
            this.colDelete});
            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.dtgBillDetail.DefaultCellStyle = dataGridViewCellStyle5;
            this.dtgBillDetail.Location = new System.Drawing.Point(10, 69);
            this.dtgBillDetail.Name = "dtgBillDetail";
            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dtgBillDetail.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
            this.dtgBillDetail.Size = new System.Drawing.Size(1141, 422);
            this.dtgBillDetail.TabIndex = 4;
            this.dtgBillDetail.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dtgBillDetail_CellBeginEdit);
            this.dtgBillDetail.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtgBillDetail_CellClick);
            this.dtgBillDetail.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dtgBillDetail_CellValidating);
            this.dtgBillDetail.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtgBillDetail_CellValueChanged);
            this.dtgBillDetail.CurrentCellDirtyStateChanged += new System.EventHandler(this.dtgBillDetail_CurrentCellDirtyStateChanged);
            this.dtgBillDetail.DefaultValuesNeeded += new System.Windows.Forms.DataGridViewRowEventHandler(this.dtgBillDetail_DefaultValuesNeeded);
            this.dtgBillDetail.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dtgBillDetail_EditingControlShowing);
            this.dtgBillDetail.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtgBillDetail_RowEnter);
            this.dtgBillDetail.RowValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtgBillDetail_RowValidated);
            this.dtgBillDetail.Enter += new System.EventHandler(this.dtgBillDetail_Enter);
            // 
            // colRowNumber
            // 
            this.colRowNumber.DataPropertyName = "RowNumber";
            this.colRowNumber.HeaderText = "STT";
            this.colRowNumber.Name = "colRowNumber";
            this.colRowNumber.Width = 40;
            // 
            // colProductType
            // 
            this.colProductType.AutoComplete = false;
            this.colProductType.DataPropertyName = "ProductTypeId";
            this.colProductType.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.colProductType.HeaderText = "Loại hàng";
            this.colProductType.Name = "colProductType";
            this.colProductType.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
            // 
            // colProducer
            // 
            this.colProducer.AutoComplete = false;
            this.colProducer.DataPropertyName = "ProducerId";
            this.colProducer.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.colProducer.HeaderText = "Hãng";
            this.colProducer.Name = "colProducer";
            this.colProducer.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
            // 
            // colProduct
            // 
            this.colProduct.AutoComplete = false;
            this.colProduct.DataPropertyName = "ProductId";
            this.colProduct.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.colProduct.HeaderText = "Tên sản phẩm";
            this.colProduct.Name = "colProduct";
            this.colProduct.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            this.colProduct.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
            this.colProduct.Width = 270;
            // 
            // colBarcode
            // 
            this.colBarcode.DataPropertyName = "Barcode";
            this.colBarcode.HeaderText = "Mã vạch";
            this.colBarcode.Name = "colBarcode";
            // 
            // colAmount
            // 
            this.colAmount.DataPropertyName = "Amount";
            this.colAmount.HeaderText = "SL";
            this.colAmount.Name = "colAmount";
            this.colAmount.Width = 40;
            // 
            // colPrice
            // 
            this.colPrice.DataPropertyName = "ProductPrice";
            this.colPrice.HeaderText = "Đơn giá";
            this.colPrice.Name = "colPrice";
            this.colPrice.Width = 70;
            // 
            // colDiscount
            // 
            this.colDiscount.DataPropertyName = "Discount";
            this.colDiscount.HeaderText = "Giảm";
            this.colDiscount.Name = "colDiscount";
            this.colDiscount.Width = 60;
            // 
            // colSalePrice
            // 
            this.colSalePrice.DataPropertyName = "SalePrice";
            dataGridViewCellStyle3.Format = "#,0 Ð";
            this.colSalePrice.DefaultCellStyle = dataGridViewCellStyle3;
            this.colSalePrice.HeaderText = "Giá bán";
            this.colSalePrice.Name = "colSalePrice";
            this.colSalePrice.ReadOnly = true;
            this.colSalePrice.Width = 90;
            // 
            // colTotalPrice
            // 
            this.colTotalPrice.DataPropertyName = "TotalPrice";
            dataGridViewCellStyle4.Format = "#,0 Ð";
            this.colTotalPrice.DefaultCellStyle = dataGridViewCellStyle4;
            this.colTotalPrice.HeaderText = "Thành tiền";
            this.colTotalPrice.Name = "colTotalPrice";
            this.colTotalPrice.ReadOnly = true;
            // 
            // colWarrantyTime
            // 
            this.colWarrantyTime.DataPropertyName = "WarrantyTime";
            this.colWarrantyTime.HeaderText = "BH";
            this.colWarrantyTime.Name = "colWarrantyTime";
            this.colWarrantyTime.Width = 40;
            // 
            // colBillDetailId
            // 
            this.colBillDetailId.DataPropertyName = "Id";
            this.colBillDetailId.HeaderText = "BillDetailId";
            this.colBillDetailId.Name = "colBillDetailId";
            this.colBillDetailId.ReadOnly = true;
            this.colBillDetailId.Visible = false;
            // 
            // colDelete
            // 
            this.colDelete.HeaderText = "Xóa";
            this.colDelete.Name = "colDelete";
            this.colDelete.Text = "Xóa";
            this.colDelete.UseColumnTextForButtonValue = true;
            this.colDelete.Width = 60;
            // 
            // btnCreateBill
            // 
            this.btnCreateBill.CausesValidation = false;
            this.btnCreateBill.Enabled = false;
            this.btnCreateBill.Location = new System.Drawing.Point(258, 6);
            this.btnCreateBill.Name = "btnCreateBill";
            this.btnCreateBill.Size = new System.Drawing.Size(94, 23);
            this.btnCreateBill.TabIndex = 12;
            this.btnCreateBill.Text = "Thêm hóa đơn";
            this.btnCreateBill.UseVisualStyleBackColor = true;
            this.btnCreateBill.Click += new System.EventHandler(this.btnCreateBill_Click);
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.btnPaid);
            this.groupBox1.Controls.Add(this.lblReturnMoney);
            this.groupBox1.Controls.Add(this.txtGivenMoney);
            this.groupBox1.Controls.Add(this.label18);
            this.groupBox1.Controls.Add(this.label9);
            this.groupBox1.Controls.Add(this.btnAddProduct);
            this.groupBox1.Controls.Add(this.lblCreateTime);
            this.groupBox1.Controls.Add(this.lblTotalPrice);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.txtPhoneNumber);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.txtAddress);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.txtCustomerName);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.btnPrintBill);
            this.groupBox1.Controls.Add(this.btnSaveBill);
            this.groupBox1.Controls.Add(this.dtgBillDetail);
            this.groupBox1.Location = new System.Drawing.Point(7, 35);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(1165, 591);
            this.groupBox1.TabIndex = 3;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Hóa đơn";
            // 
            // btnPaid
            // 
            this.btnPaid.Enabled = false;
            this.btnPaid.Location = new System.Drawing.Point(1060, 562);
            this.btnPaid.Name = "btnPaid";
            this.btnPaid.Size = new System.Drawing.Size(91, 23);
            this.btnPaid.TabIndex = 19;
            this.btnPaid.Text = "Đã thanh toán";
            this.btnPaid.UseVisualStyleBackColor = true;
            this.btnPaid.Click += new System.EventHandler(this.btnPaid_Click);
            // 
            // lblReturnMoney
            // 
            this.lblReturnMoney.AutoSize = true;
            this.lblReturnMoney.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblReturnMoney.Location = new System.Drawing.Point(928, 541);
            this.lblReturnMoney.Name = "lblReturnMoney";
            this.lblReturnMoney.Size = new System.Drawing.Size(95, 13);
            this.lblReturnMoney.TabIndex = 18;
            this.lblReturnMoney.Text = "lblReturnMoney";
            // 
            // txtGivenMoney
            // 
            this.txtGivenMoney.Location = new System.Drawing.Point(931, 513);
            this.txtGivenMoney.Name = "txtGivenMoney";
            this.txtGivenMoney.Size = new System.Drawing.Size(123, 20);
            this.txtGivenMoney.TabIndex = 17;
            this.txtGivenMoney.Enter += new System.EventHandler(this.txtGivenMoney_Enter);
            this.txtGivenMoney.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtGivenMoney_KeyPress);
            this.txtGivenMoney.Leave += new System.EventHandler(this.txtGivenMoney_Leave);
            // 
            // label18
            // 
            this.label18.AutoSize = true;
            this.label18.Location = new System.Drawing.Point(878, 541);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(44, 13);
            this.label18.TabIndex = 16;
            this.label18.Text = "Thối lại:";
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(832, 516);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(90, 13);
            this.label9.TabIndex = 15;
            this.label9.Text = "Khách hàng đưa:";
            // 
            // btnAddProduct
            // 
            this.btnAddProduct.CausesValidation = false;
            this.btnAddProduct.Location = new System.Drawing.Point(10, 497);
            this.btnAddProduct.Name = "btnAddProduct";
            this.btnAddProduct.Size = new System.Drawing.Size(112, 23);
            this.btnAddProduct.TabIndex = 10;
            this.btnAddProduct.Text = "Thêm sản phẩm";
            this.btnAddProduct.UseVisualStyleBackColor = true;
            this.btnAddProduct.Click += new System.EventHandler(this.btnAddProduct_Click);
            // 
            // lblCreateTime
            // 
            this.lblCreateTime.AutoSize = true;
            this.lblCreateTime.Location = new System.Drawing.Point(334, 20);
            this.lblCreateTime.Name = "lblCreateTime";
            this.lblCreateTime.Size = new System.Drawing.Size(71, 13);
            this.lblCreateTime.TabIndex = 14;
            this.lblCreateTime.Text = "lblCreateTime";
            // 
            // lblTotalPrice
            // 
            this.lblTotalPrice.AutoSize = true;
            this.lblTotalPrice.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTotalPrice.Location = new System.Drawing.Point(928, 494);
            this.lblTotalPrice.Name = "lblTotalPrice";
            this.lblTotalPrice.Size = new System.Drawing.Size(78, 13);
            this.lblTotalPrice.TabIndex = 13;
            this.lblTotalPrice.Text = "lblTotalPrice";
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(860, 494);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(62, 13);
            this.label5.TabIndex = 12;
            this.label5.Text = "Tổng cộng:";
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(283, 20);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(54, 13);
            this.label4.TabIndex = 11;
            this.label4.Text = "Thời gian:";
            // 
            // txtPhoneNumber
            // 
            this.txtPhoneNumber.AllowSpace = false;
            this.txtPhoneNumber.IsDecimal = true;
            this.txtPhoneNumber.IsPostiveNumber = false;
            this.txtPhoneNumber.Location = new System.Drawing.Point(555, 43);
            this.txtPhoneNumber.Name = "txtPhoneNumber";
            this.txtPhoneNumber.Size = new System.Drawing.Size(142, 20);
            this.txtPhoneNumber.TabIndex = 3;
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(480, 46);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(55, 13);
            this.label3.TabIndex = 8;
            this.label3.Text = "Điện thoại";
            // 
            // txtAddress
            // 
            this.txtAddress.Location = new System.Drawing.Point(73, 43);
            this.txtAddress.Name = "txtAddress";
            this.txtAddress.Size = new System.Drawing.Size(399, 20);
            this.txtAddress.TabIndex = 2;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(7, 46);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(40, 13);
            this.label2.TabIndex = 6;
            this.label2.Text = "Địa chỉ";
            // 
            // txtCustomerName
            // 
            this.txtCustomerName.Location = new System.Drawing.Point(73, 17);
            this.txtCustomerName.Name = "txtCustomerName";
            this.txtCustomerName.Size = new System.Drawing.Size(203, 20);
            this.txtCustomerName.TabIndex = 1;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(7, 20);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(65, 13);
            this.label1.TabIndex = 4;
            this.label1.Text = "Khách hàng";
            // 
            // btnPrintBill
            // 
            this.btnPrintBill.Enabled = false;
            this.btnPrintBill.Location = new System.Drawing.Point(979, 562);
            this.btnPrintBill.Name = "btnPrintBill";
            this.btnPrintBill.Size = new System.Drawing.Size(75, 23);
            this.btnPrintBill.TabIndex = 6;
            this.btnPrintBill.Text = "In";
            this.btnPrintBill.UseVisualStyleBackColor = true;
            this.btnPrintBill.Click += new System.EventHandler(this.btnPrintBill_Click);
            // 
            // btnSaveBill
            // 
            this.btnSaveBill.Enabled = false;
            this.btnSaveBill.Location = new System.Drawing.Point(898, 562);
            this.btnSaveBill.Name = "btnSaveBill";
            this.btnSaveBill.Size = new System.Drawing.Size(75, 23);
            this.btnSaveBill.TabIndex = 5;
            this.btnSaveBill.Text = "Lưu";
            this.btnSaveBill.UseVisualStyleBackColor = true;
            this.btnSaveBill.Click += new System.EventHandler(this.btnSaveBill_Click);
            // 
            // btnClose
            // 
            this.btnClose.CausesValidation = false;
            this.btnClose.Location = new System.Drawing.Point(1111, 667);
            this.btnClose.Name = "btnClose";
            this.btnClose.Size = new System.Drawing.Size(75, 23);
            this.btnClose.TabIndex = 20;
            this.btnClose.Text = "Đóng";
            this.btnClose.UseVisualStyleBackColor = true;
            this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Location = new System.Drawing.Point(3, 2);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(1187, 659);
            this.tabControl1.TabIndex = 5;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.btnDeleteBill);
            this.tabPage1.Controls.Add(this.cboKhachHang);
            this.tabPage1.Controls.Add(this.label8);
            this.tabPage1.Controls.Add(this.groupBox1);
            this.tabPage1.Controls.Add(this.btnCreateBill);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(1179, 633);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "Bán hàng";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // btnDeleteBill
            // 
            this.btnDeleteBill.CausesValidation = false;
            this.btnDeleteBill.Enabled = false;
            this.btnDeleteBill.Location = new System.Drawing.Point(358, 6);
            this.btnDeleteBill.Name = "btnDeleteBill";
            this.btnDeleteBill.Size = new System.Drawing.Size(99, 23);
            this.btnDeleteBill.TabIndex = 13;
            this.btnDeleteBill.Text = "Xóa hóa đơn";
            this.btnDeleteBill.UseVisualStyleBackColor = true;
            this.btnDeleteBill.Click += new System.EventHandler(this.btnDeleteBill_Click);
            // 
            // cboKhachHang
            // 
            this.cboKhachHang.CausesValidation = false;
            this.cboKhachHang.FormattingEnabled = true;
            this.cboKhachHang.Location = new System.Drawing.Point(80, 8);
            this.cboKhachHang.Name = "cboKhachHang";
            this.cboKhachHang.Size = new System.Drawing.Size(172, 21);
            this.cboKhachHang.TabIndex = 11;
            this.cboKhachHang.SelectedIndexChanged += new System.EventHandler(this.cboKhachHang_SelectedIndexChanged);
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(14, 11);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(65, 13);
            this.label8.TabIndex = 4;
            this.label8.Text = "Khách hàng";
            // 
            // tabPage3
            // 
            this.tabPage3.Controls.Add(this.lblTotalReturn2);
            this.tabPage3.Controls.Add(this.label11);
            this.tabPage3.Controls.Add(this.btnReturnProduct2);
            this.tabPage3.Controls.Add(this.dtpReturnDate2);
            this.tabPage3.Controls.Add(this.label15);
            this.tabPage3.Controls.Add(this.txtComment2);
            this.tabPage3.Controls.Add(this.label17);
            this.tabPage3.Controls.Add(this.btnSaveReturn2);
            this.tabPage3.Controls.Add(this.dtgReturnProducts2);
            this.tabPage3.Controls.Add(this.btnAddReturnProduct2);
            this.tabPage3.Controls.Add(this.btnFindBill2);
            this.tabPage3.Controls.Add(this.lblTime2);
            this.tabPage3.Controls.Add(this.label16);
            this.tabPage3.Controls.Add(this.lblCustomerName2);
            this.tabPage3.Controls.Add(this.label14);
            this.tabPage3.Controls.Add(this.lblTotalPrice2);
            this.tabPage3.Controls.Add(this.label12);
            this.tabPage3.Controls.Add(this.dtgBillDetail2);
            this.tabPage3.Controls.Add(this.label13);
            this.tabPage3.Controls.Add(this.txtBillId2);
            this.tabPage3.Location = new System.Drawing.Point(4, 22);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Size = new System.Drawing.Size(1179, 633);
            this.tabPage3.TabIndex = 2;
            this.tabPage3.Text = "Trả hàng có hóa đơn";
            this.tabPage3.UseVisualStyleBackColor = true;
            // 
            // lblTotalReturn2
            // 
            this.lblTotalReturn2.AutoSize = true;
            this.lblTotalReturn2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTotalReturn2.Location = new System.Drawing.Point(996, 463);
            this.lblTotalReturn2.Name = "lblTotalReturn2";
            this.lblTotalReturn2.Size = new System.Drawing.Size(94, 13);
            this.lblTotalReturn2.TabIndex = 39;
            this.lblTotalReturn2.Text = "lblTotalReturn2";
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(928, 463);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(62, 13);
            this.label11.TabIndex = 38;
            this.label11.Text = "Tổng cộng:";
            // 
            // btnReturnProduct2
            // 
            this.btnReturnProduct2.Location = new System.Drawing.Point(557, 275);
            this.btnReturnProduct2.Name = "btnReturnProduct2";
            this.btnReturnProduct2.Size = new System.Drawing.Size(75, 23);
            this.btnReturnProduct2.TabIndex = 32;
            this.btnReturnProduct2.Text = "Trả hàng >";
            this.btnReturnProduct2.UseVisualStyleBackColor = true;
            this.btnReturnProduct2.Click += new System.EventHandler(this.btnReturnProduct_Click);
            // 
            // dtpReturnDate2
            // 
            this.dtpReturnDate2.CustomFormat = "dd/MM/yyyy";
            this.dtpReturnDate2.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtpReturnDate2.Location = new System.Drawing.Point(689, 25);
            this.dtpReturnDate2.Name = "dtpReturnDate2";
            this.dtpReturnDate2.Size = new System.Drawing.Size(108, 20);
            this.dtpReturnDate2.TabIndex = 34;
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.Location = new System.Drawing.Point(636, 32);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(47, 13);
            this.label15.TabIndex = 37;
            this.label15.Text = "Ngày trả";
            // 
            // txtComment2
            // 
            this.txtComment2.Location = new System.Drawing.Point(638, 497);
            this.txtComment2.Name = "txtComment2";
            this.txtComment2.Size = new System.Drawing.Size(538, 57);
            this.txtComment2.TabIndex = 35;
            this.txtComment2.Text = "";
            // 
            // label17
            // 
            this.label17.AutoSize = true;
            this.label17.Location = new System.Drawing.Point(635, 481);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(44, 13);
            this.label17.TabIndex = 33;
            this.label17.Text = "Ghi chú";
            // 
            // btnSaveReturn2
            // 
            this.btnSaveReturn2.Location = new System.Drawing.Point(1101, 560);
            this.btnSaveReturn2.Name = "btnSaveReturn2";
            this.btnSaveReturn2.Size = new System.Drawing.Size(75, 23);
            this.btnSaveReturn2.TabIndex = 36;
            this.btnSaveReturn2.Text = "Lưu";
            this.btnSaveReturn2.UseVisualStyleBackColor = true;
            this.btnSaveReturn2.Click += new System.EventHandler(this.btnReturnProductSave2_Click);
            // 
            // dtgReturnProducts2
            // 
            this.dtgReturnProducts2.AllowUserToAddRows = false;
            dataGridViewCellStyle7.BackColor = System.Drawing.Color.LimeGreen;
            this.dtgReturnProducts2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dtgReturnProducts2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
            this.dtgReturnProducts2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dtgReturnProducts2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.colRowNumber4,
            this.colProduct4,
            this.colSalePrice4,
            this.colAmountReturn4,
            this.colMaxAmount4,
            this.colTotalPrice4,
            this.colDelete4,
            this.colBillDetailId4});
            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.dtgReturnProducts2.DefaultCellStyle = dataGridViewCellStyle10;
            this.dtgReturnProducts2.Location = new System.Drawing.Point(638, 48);
            this.dtgReturnProducts2.Name = "dtgReturnProducts2";
            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dtgReturnProducts2.RowHeadersDefaultCellStyle = dataGridViewCellStyle11;
            this.dtgReturnProducts2.Size = new System.Drawing.Size(538, 412);
            this.dtgReturnProducts2.TabIndex = 31;
            this.dtgReturnProducts2.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtgReturnProducts2_CellClick);
            this.dtgReturnProducts2.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dtgReturnProducts2_CellValidating);
            this.dtgReturnProducts2.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtgReturnProducts2_CellValueChanged);
            // 
            // colRowNumber4
            // 
            this.colRowNumber4.HeaderText = "STT";
            this.colRowNumber4.Name = "colRowNumber4";
            this.colRowNumber4.ReadOnly = true;
            this.colRowNumber4.Width = 40;
            // 
            // colProduct4
            // 
            this.colProduct4.HeaderText = "Tên sản phẩm";
            this.colProduct4.Name = "colProduct4";
            this.colProduct4.ReadOnly = true;
            this.colProduct4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            this.colProduct4.Width = 200;
            // 
            // colSalePrice4
            // 
            this.colSalePrice4.HeaderText = "SalePrice";
            this.colSalePrice4.Name = "colSalePrice4";
            this.colSalePrice4.ReadOnly = true;
            this.colSalePrice4.Visible = false;
            // 
            // colAmountReturn4
            // 
            this.colAmountReturn4.HeaderText = "SL trả";
            this.colAmountReturn4.Name = "colAmountReturn4";
            this.colAmountReturn4.Width = 60;
            // 
            // colMaxAmount4
            // 
            this.colMaxAmount4.HeaderText = "MaxAmount";
            this.colMaxAmount4.Name = "colMaxAmount4";
            this.colMaxAmount4.ReadOnly = true;
            this.colMaxAmount4.Visible = false;
            // 
            // colTotalPrice4
            // 
            dataGridViewCellStyle9.Format = "#,0 Đ";
            this.colTotalPrice4.DefaultCellStyle = dataGridViewCellStyle9;
            this.colTotalPrice4.HeaderText = "Thành tiền";
            this.colTotalPrice4.Name = "colTotalPrice4";
            this.colTotalPrice4.ReadOnly = true;
            // 
            // colDelete4
            // 
            this.colDelete4.HeaderText = "Xóa";
            this.colDelete4.Name = "colDelete4";
            this.colDelete4.Text = "Xóa";
            this.colDelete4.UseColumnTextForButtonValue = true;
            this.colDelete4.Width = 60;
            // 
            // colBillDetailId4
            // 
            this.colBillDetailId4.HeaderText = "BillDetailId";
            this.colBillDetailId4.Name = "colBillDetailId4";
            this.colBillDetailId4.ReadOnly = true;
            this.colBillDetailId4.Visible = false;
            // 
            // btnAddReturnProduct2
            // 
            this.btnAddReturnProduct2.Location = new System.Drawing.Point(244, 3);
            this.btnAddReturnProduct2.Name = "btnAddReturnProduct2";
            this.btnAddReturnProduct2.Size = new System.Drawing.Size(87, 23);
            this.btnAddReturnProduct2.TabIndex = 30;
            this.btnAddReturnProduct2.Text = "Thêm trả hàng";
            this.btnAddReturnProduct2.UseVisualStyleBackColor = true;
            this.btnAddReturnProduct2.Click += new System.EventHandler(this.btnNewReturnProduct2_Click);
            // 
            // btnFindBill2
            // 
            this.btnFindBill2.Location = new System.Drawing.Point(163, 3);
            this.btnFindBill2.Name = "btnFindBill2";
            this.btnFindBill2.Size = new System.Drawing.Size(75, 23);
            this.btnFindBill2.TabIndex = 22;
            this.btnFindBill2.Text = "Tìm";
            this.btnFindBill2.UseVisualStyleBackColor = true;
            this.btnFindBill2.Click += new System.EventHandler(this.btnFindBill_Click);
            // 
            // lblTime2
            // 
            this.lblTime2.AutoSize = true;
            this.lblTime2.Location = new System.Drawing.Point(275, 33);
            this.lblTime2.Name = "lblTime2";
            this.lblTime2.Size = new System.Drawing.Size(40, 13);
            this.lblTime2.TabIndex = 29;
            this.lblTime2.Text = "lblTime";
            // 
            // label16
            // 
            this.label16.AutoSize = true;
            this.label16.Location = new System.Drawing.Point(224, 32);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(54, 13);
            this.label16.TabIndex = 28;
            this.label16.Text = "Thời gian:";
            // 
            // lblCustomerName2
            // 
            this.lblCustomerName2.AutoSize = true;
            this.lblCustomerName2.Location = new System.Drawing.Point(81, 33);
            this.lblCustomerName2.Name = "lblCustomerName2";
            this.lblCustomerName2.Size = new System.Drawing.Size(89, 13);
            this.lblCustomerName2.TabIndex = 27;
            this.lblCustomerName2.Text = "lblCustomerName";
            // 
            // label14
            // 
            this.label14.AutoSize = true;
            this.label14.Location = new System.Drawing.Point(7, 33);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(68, 13);
            this.label14.TabIndex = 26;
            this.label14.Text = "Khách hàng:";
            // 
            // lblTotalPrice2
            // 
            this.lblTotalPrice2.AutoSize = true;
            this.lblTotalPrice2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTotalPrice2.Location = new System.Drawing.Point(418, 463);
            this.lblTotalPrice2.Name = "lblTotalPrice2";
            this.lblTotalPrice2.Size = new System.Drawing.Size(85, 13);
            this.lblTotalPrice2.TabIndex = 25;
            this.lblTotalPrice2.Text = "lblTotalPrice2";
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.Location = new System.Drawing.Point(350, 463);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(62, 13);
            this.label12.TabIndex = 24;
            this.label12.Text = "Tổng cộng:";
            // 
            // dtgBillDetail2
            // 
            this.dtgBillDetail2.AllowUserToAddRows = false;
            this.dtgBillDetail2.AllowUserToDeleteRows = false;
            dataGridViewCellStyle12.BackColor = System.Drawing.Color.LimeGreen;
            this.dtgBillDetail2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle12;
            this.dtgBillDetail2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dtgBillDetail2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.colRowNumber2,
            this.colProduct2,
            this.colAmount2,
            this.colSalePrice2,
            this.colTotalPrice2,
            this.colBillDetailId2});
            this.dtgBillDetail2.Location = new System.Drawing.Point(10, 49);
            this.dtgBillDetail2.Name = "dtgBillDetail2";
            this.dtgBillDetail2.ReadOnly = true;
            this.dtgBillDetail2.Size = new System.Drawing.Size(540, 411);
            this.dtgBillDetail2.TabIndex = 23;
            // 
            // colRowNumber2
            // 
            this.colRowNumber2.DataPropertyName = "RowNumber";
            this.colRowNumber2.HeaderText = "STT";
            this.colRowNumber2.Name = "colRowNumber2";
            this.colRowNumber2.ReadOnly = true;
            this.colRowNumber2.Width = 40;
            // 
            // colProduct2
            // 
            this.colProduct2.DataPropertyName = "Name";
            this.colProduct2.HeaderText = "Sản phẩm";
            this.colProduct2.Name = "colProduct2";
            this.colProduct2.ReadOnly = true;
            this.colProduct2.Width = 200;
            // 
            // colAmount2
            // 
            this.colAmount2.DataPropertyName = "Amount";
            this.colAmount2.HeaderText = "SL";
            this.colAmount2.Name = "colAmount2";
            this.colAmount2.ReadOnly = true;
            this.colAmount2.Width = 40;
            // 
            // colSalePrice2
            // 
            this.colSalePrice2.DataPropertyName = "SalePrice";
            dataGridViewCellStyle13.Format = "#,0 Đ";
            this.colSalePrice2.DefaultCellStyle = dataGridViewCellStyle13;
            this.colSalePrice2.HeaderText = "Giá bán";
            this.colSalePrice2.Name = "colSalePrice2";
            this.colSalePrice2.ReadOnly = true;
            this.colSalePrice2.Width = 80;
            // 
            // colTotalPrice2
            // 
            this.colTotalPrice2.DataPropertyName = "TotalPrice";
            dataGridViewCellStyle14.Format = "#,0 Đ";
            this.colTotalPrice2.DefaultCellStyle = dataGridViewCellStyle14;
            this.colTotalPrice2.HeaderText = "Thành tiền";
            this.colTotalPrice2.Name = "colTotalPrice2";
            this.colTotalPrice2.ReadOnly = true;
            // 
            // colBillDetailId2
            // 
            this.colBillDetailId2.DataPropertyName = "Id";
            this.colBillDetailId2.HeaderText = "BillDetailId";
            this.colBillDetailId2.Name = "colBillDetailId2";
            this.colBillDetailId2.ReadOnly = true;
            this.colBillDetailId2.Visible = false;
            // 
            // label13
            // 
            this.label13.AutoSize = true;
            this.label13.Location = new System.Drawing.Point(5, 9);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(66, 13);
            this.label13.TabIndex = 20;
            this.label13.Text = "Số hóa đơn:";
            // 
            // txtBillId2
            // 
            this.txtBillId2.AllowSpace = false;
            this.txtBillId2.IsDecimal = true;
            this.txtBillId2.IsPostiveNumber = false;
            this.txtBillId2.Location = new System.Drawing.Point(77, 6);
            this.txtBillId2.Name = "txtBillId2";
            this.txtBillId2.Size = new System.Drawing.Size(80, 20);
            this.txtBillId2.TabIndex = 21;
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.btnNewReturnProduct);
            this.tabPage2.Controls.Add(this.lblTotalReturnProductPrice);
            this.tabPage2.Controls.Add(this.label6);
            this.tabPage2.Controls.Add(this.dtpReturnDate);
            this.tabPage2.Controls.Add(this.label10);
            this.tabPage2.Controls.Add(this.txtComment);
            this.tabPage2.Controls.Add(this.label7);
            this.tabPage2.Controls.Add(this.btnReturnProductSave);
            this.tabPage2.Controls.Add(this.dtgReturnProducts);
            this.tabPage2.Location = new System.Drawing.Point(4, 22);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(1179, 633);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "Trả hàng không hóa đơn";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // btnNewReturnProduct
            // 
            this.btnNewReturnProduct.Location = new System.Drawing.Point(209, 4);
            this.btnNewReturnProduct.Name = "btnNewReturnProduct";
            this.btnNewReturnProduct.Size = new System.Drawing.Size(87, 23);
            this.btnNewReturnProduct.TabIndex = 19;
            this.btnNewReturnProduct.Text = "Thêm trả hàng";
            this.btnNewReturnProduct.UseVisualStyleBackColor = true;
            this.btnNewReturnProduct.Click += new System.EventHandler(this.btnNewReturnProduct_Click);
            // 
            // lblTotalReturnProductPrice
            // 
            this.lblTotalReturnProductPrice.AutoSize = true;
            this.lblTotalReturnProductPrice.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTotalReturnProductPrice.Location = new System.Drawing.Point(638, 457);
            this.lblTotalReturnProductPrice.Name = "lblTotalReturnProductPrice";
            this.lblTotalReturnProductPrice.Size = new System.Drawing.Size(160, 13);
            this.lblTotalReturnProductPrice.TabIndex = 11;
            this.lblTotalReturnProductPrice.Text = "lblTotalReturnProductPrice";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(579, 457);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(62, 13);
            this.label6.TabIndex = 10;
            this.label6.Text = "Tổng cộng:";
            // 
            // dtpReturnDate
            // 
            this.dtpReturnDate.CustomFormat = "dd/MM/yyyy hh:mm";
            this.dtpReturnDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtpReturnDate.Location = new System.Drawing.Point(58, 6);
            this.dtpReturnDate.Name = "dtpReturnDate";
            this.dtpReturnDate.Size = new System.Drawing.Size(145, 20);
            this.dtpReturnDate.TabIndex = 4;
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(4, 9);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(47, 13);
            this.label10.TabIndex = 6;
            this.label10.Text = "Ngày trả";
            // 
            // txtComment
            // 
            this.txtComment.Location = new System.Drawing.Point(7, 491);
            this.txtComment.Name = "txtComment";
            this.txtComment.Size = new System.Drawing.Size(939, 60);
            this.txtComment.TabIndex = 5;
            this.txtComment.Text = "";
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(4, 475);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(44, 13);
            this.label7.TabIndex = 4;
            this.label7.Text = "Ghi chú";
            // 
            // btnReturnProductSave
            // 
            this.btnReturnProductSave.Location = new System.Drawing.Point(871, 557);
            this.btnReturnProductSave.Name = "btnReturnProductSave";
            this.btnReturnProductSave.Size = new System.Drawing.Size(75, 23);
            this.btnReturnProductSave.TabIndex = 6;
            this.btnReturnProductSave.Text = "Lưu";
            this.btnReturnProductSave.UseVisualStyleBackColor = true;
            this.btnReturnProductSave.Click += new System.EventHandler(this.btnReturnProductSave_Click);
            // 
            // dtgReturnProducts
            // 
            dataGridViewCellStyle15.BackColor = System.Drawing.Color.LimeGreen;
            this.dtgReturnProducts.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle15;
            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dtgReturnProducts.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
            this.dtgReturnProducts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dtgReturnProducts.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.colRowNumber3,
            this.colProductType3,
            this.colProducer3,
            this.colProduct3,
            this.colMaxAmount,
            this.colAmountReturn3,
            this.colSalePrice3,
            this.colTotalPrice3,
            this.colDelete3});
            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.dtgReturnProducts.DefaultCellStyle = dataGridViewCellStyle18;
            this.dtgReturnProducts.Location = new System.Drawing.Point(6, 33);
            this.dtgReturnProducts.Name = "dtgReturnProducts";
            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle19.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dtgReturnProducts.RowHeadersDefaultCellStyle = dataGridViewCellStyle19;
            this.dtgReturnProducts.Size = new System.Drawing.Size(940, 421);
            this.dtgReturnProducts.TabIndex = 2;
            this.dtgReturnProducts.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dtgReturnProducts_CellBeginEdit);
            this.dtgReturnProducts.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtgReturnProducts_CellClick);
            this.dtgReturnProducts.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.dtgReturnProducts_CellValidating);
            this.dtgReturnProducts.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtgReturnProducts_CellValueChanged);
            this.dtgReturnProducts.CurrentCellDirtyStateChanged += new System.EventHandler(this.dtgReturnProducts_CurrentCellDirtyStateChanged);
            this.dtgReturnProducts.DefaultValuesNeeded += new System.Windows.Forms.DataGridViewRowEventHandler(this.dtgReturnProducts_DefaultValuesNeeded);
            this.dtgReturnProducts.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dtgReturnProducts_EditingControlShowing);
            this.dtgReturnProducts.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtgReturnProducts_RowEnter);
            // 
            // colRowNumber3
            // 
            this.colRowNumber3.HeaderText = "STT";
            this.colRowNumber3.Name = "colRowNumber3";
            this.colRowNumber3.ReadOnly = true;
            this.colRowNumber3.Width = 40;
            // 
            // colProductType3
            // 
            this.colProductType3.AutoComplete = false;
            this.colProductType3.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.colProductType3.HeaderText = "Loại";
            this.colProductType3.Name = "colProductType3";
            // 
            // colProducer3
            // 
            this.colProducer3.AutoComplete = false;
            this.colProducer3.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.colProducer3.HeaderText = "Hãng";
            this.colProducer3.Name = "colProducer3";
            // 
            // colProduct3
            // 
            this.colProduct3.AutoComplete = false;
            this.colProduct3.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
            this.colProduct3.HeaderText = "Tên sản phẩm";
            this.colProduct3.Name = "colProduct3";
            this.colProduct3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            this.colProduct3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
            this.colProduct3.Width = 200;
            // 
            // colMaxAmount
            // 
            this.colMaxAmount.HeaderText = "Số lượng tối đa có thể trả";
            this.colMaxAmount.Name = "colMaxAmount";
            this.colMaxAmount.ReadOnly = true;
            // 
            // colAmountReturn3
            // 
            this.colAmountReturn3.HeaderText = "SL trả";
            this.colAmountReturn3.Name = "colAmountReturn3";
            this.colAmountReturn3.Width = 60;
            // 
            // colSalePrice3
            // 
            this.colSalePrice3.HeaderText = "Giá bán";
            this.colSalePrice3.Name = "colSalePrice3";
            // 
            // colTotalPrice3
            // 
            dataGridViewCellStyle17.Format = "#,0 Ð";
            this.colTotalPrice3.DefaultCellStyle = dataGridViewCellStyle17;
            this.colTotalPrice3.HeaderText = "Thành tiền";
            this.colTotalPrice3.Name = "colTotalPrice3";
            this.colTotalPrice3.ReadOnly = true;
            // 
            // colDelete3
            // 
            this.colDelete3.HeaderText = "Xóa";
            this.colDelete3.Name = "colDelete3";
            this.colDelete3.Text = "Xóa";
            this.colDelete3.UseColumnTextForButtonValue = true;
            this.colDelete3.Width = 60;
            // 
            // errorProvider1
            // 
            this.errorProvider1.ContainerControl = this;
            // 
            // dataGridViewTextBoxColumn1
            // 
            this.dataGridViewTextBoxColumn1.DataPropertyName = "RowNumber";
            this.dataGridViewTextBoxColumn1.HeaderText = "STT";
            this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
            this.dataGridViewTextBoxColumn1.Width = 40;
            // 
            // dataGridViewTextBoxColumn2
            // 
            this.dataGridViewTextBoxColumn2.DataPropertyName = "BarcodeNumber";
            this.dataGridViewTextBoxColumn2.HeaderText = "Mã vạch";
            this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
            // 
            // dataGridViewTextBoxColumn3
            // 
            this.dataGridViewTextBoxColumn3.DataPropertyName = "BarCodeId";
            this.dataGridViewTextBoxColumn3.HeaderText = "Đơn giá";
            this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
            this.dataGridViewTextBoxColumn3.ReadOnly = true;
            this.dataGridViewTextBoxColumn3.Visible = false;
            this.dataGridViewTextBoxColumn3.Width = 80;
            // 
            // dataGridViewTextBoxColumn4
            // 
            this.dataGridViewTextBoxColumn4.DataPropertyName = "Price";
            dataGridViewCellStyle20.Format = "#,0 Ð";
            this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle20;
            this.dataGridViewTextBoxColumn4.HeaderText = "Giảm";
            this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
            this.dataGridViewTextBoxColumn4.ReadOnly = true;
            this.dataGridViewTextBoxColumn4.Width = 80;
            // 
            // dataGridViewTextBoxColumn5
            // 
            this.dataGridViewTextBoxColumn5.DataPropertyName = "Discount";
            this.dataGridViewTextBoxColumn5.HeaderText = "Giá bán";
            this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
            // 
            // dataGridViewTextBoxColumn6
            // 
            this.dataGridViewTextBoxColumn6.DataPropertyName = "SalePrice";
            dataGridViewCellStyle21.Format = "#,0 Ð";
            this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle21;
            this.dataGridViewTextBoxColumn6.HeaderText = "SL";
            this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
            this.dataGridViewTextBoxColumn6.ReadOnly = true;
            this.dataGridViewTextBoxColumn6.Width = 40;
            // 
            // dataGridViewTextBoxColumn7
            // 
            this.dataGridViewTextBoxColumn7.DataPropertyName = "Amount";
            this.dataGridViewTextBoxColumn7.HeaderText = "Thành tiền";
            this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
            this.dataGridViewTextBoxColumn7.ReadOnly = true;
            this.dataGridViewTextBoxColumn7.Width = 40;
            // 
            // dataGridViewTextBoxColumn8
            // 
            this.dataGridViewTextBoxColumn8.DataPropertyName = "TotalPrice";
            dataGridViewCellStyle22.Format = "#,0 Ð";
            this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle22;
            this.dataGridViewTextBoxColumn8.HeaderText = "Thời gian BH";
            this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
            this.dataGridViewTextBoxColumn8.ReadOnly = true;
            // 
            // dataGridViewTextBoxColumn9
            // 
            this.dataGridViewTextBoxColumn9.DataPropertyName = "WarrantyTime";
            this.dataGridViewTextBoxColumn9.HeaderText = "STT";
            this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
            this.dataGridViewTextBoxColumn9.ReadOnly = true;
            this.dataGridViewTextBoxColumn9.Width = 40;
            // 
            // dataGridViewTextBoxColumn10
            // 
            this.dataGridViewTextBoxColumn10.DataPropertyName = "Id";
            this.dataGridViewTextBoxColumn10.HeaderText = "SL trả";
            this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
            this.dataGridViewTextBoxColumn10.ReadOnly = true;
            this.dataGridViewTextBoxColumn10.Visible = false;
            this.dataGridViewTextBoxColumn10.Width = 60;
            // 
            // dataGridViewButtonColumn1
            // 
            this.dataGridViewButtonColumn1.HeaderText = "Xóa";
            this.dataGridViewButtonColumn1.Name = "dataGridViewButtonColumn1";
            this.dataGridViewButtonColumn1.Text = "Xóa";
            this.dataGridViewButtonColumn1.UseColumnTextForButtonValue = true;
            this.dataGridViewButtonColumn1.Width = 60;
            // 
            // dataGridViewTextBoxColumn11
            // 
            this.dataGridViewTextBoxColumn11.HeaderText = "STT";
            this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
            this.dataGridViewTextBoxColumn11.ReadOnly = true;
            // 
            // dataGridViewTextBoxColumn12
            // 
            this.dataGridViewTextBoxColumn12.HeaderText = "Sản phẩm";
            this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
            this.dataGridViewTextBoxColumn12.ReadOnly = true;
            // 
            // dataGridViewTextBoxColumn13
            // 
            this.dataGridViewTextBoxColumn13.HeaderText = "Số lượng";
            this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
            this.dataGridViewTextBoxColumn13.ReadOnly = true;
            // 
            // dataGridViewTextBoxColumn14
            // 
            this.dataGridViewTextBoxColumn14.HeaderText = "Giá bán";
            this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
            this.dataGridViewTextBoxColumn14.ReadOnly = true;
            // 
            // dataGridViewTextBoxColumn15
            // 
            this.dataGridViewTextBoxColumn15.HeaderText = "Thành tiền";
            this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
            this.dataGridViewTextBoxColumn15.ReadOnly = true;
            // 
            // dataGridViewTextBoxColumn16
            // 
            this.dataGridViewTextBoxColumn16.HeaderText = "STT";
            this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
            this.dataGridViewTextBoxColumn16.ReadOnly = true;
            this.dataGridViewTextBoxColumn16.Width = 40;
            // 
            // dataGridViewTextBoxColumn17
            // 
            this.dataGridViewTextBoxColumn17.HeaderText = "Tên sản phẩm";
            this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
            this.dataGridViewTextBoxColumn17.ReadOnly = true;
            this.dataGridViewTextBoxColumn17.Resizable = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridViewTextBoxColumn17.Width = 200;
            // 
            // dataGridViewTextBoxColumn18
            // 
            this.dataGridViewTextBoxColumn18.HeaderText = "SL trả";
            this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
            this.dataGridViewTextBoxColumn18.Width = 60;
            // 
            // dataGridViewTextBoxColumn19
            // 
            this.dataGridViewTextBoxColumn19.HeaderText = "Giá bán";
            this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
            this.dataGridViewTextBoxColumn19.ReadOnly = true;
            // 
            // dataGridViewTextBoxColumn20
            // 
            this.dataGridViewTextBoxColumn20.HeaderText = "Thành tiền";
            this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
            this.dataGridViewTextBoxColumn20.ReadOnly = true;
            // 
            // dataGridViewButtonColumn2
            // 
            this.dataGridViewButtonColumn2.HeaderText = "Xóa";
            this.dataGridViewButtonColumn2.Name = "dataGridViewButtonColumn2";
            this.dataGridViewButtonColumn2.Text = "Xóa";
            this.dataGridViewButtonColumn2.UseColumnTextForButtonValue = true;
            // 
            // FormOrder
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1191, 694);
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.btnClose);
            this.Name = "FormOrder";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Quản lý đơn hàng";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormOrder_FormClosing);
            this.Load += new System.EventHandler(this.FormOrder_Load);
            ((System.ComponentModel.ISupportInitialize)(this.dtgBillDetail)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.tabPage1.PerformLayout();
            this.tabPage3.ResumeLayout(false);
            this.tabPage3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dtgReturnProducts2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtgBillDetail2)).EndInit();
            this.tabPage2.ResumeLayout(false);
            this.tabPage2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dtgReturnProducts)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.DataGridView dtgBillDetail;
        private System.Windows.Forms.Button btnCreateBill;
        private System.Windows.Forms.GroupBox groupBox1;
        private CustomControls.NumericTextBox txtPhoneNumber;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.TextBox txtAddress;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox txtCustomerName;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Button btnPrintBill;
        private System.Windows.Forms.Button btnSaveBill;
        private System.Windows.Forms.Button btnClose;
        private System.Windows.Forms.Button btnAddProduct;
        private System.Windows.Forms.Label lblTotalPrice;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label lblCreateTime;
        private System.Windows.Forms.TabControl tabControl1;
        private System.Windows.Forms.TabPage tabPage1;
        private System.Windows.Forms.TabPage tabPage2;
        private System.Windows.Forms.ComboBox cboKhachHang;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.DataGridView dtgReturnProducts;
        private System.Windows.Forms.Button btnReturnProductSave;
        private System.Windows.Forms.RichTextBox txtComment;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.DateTimePicker dtpReturnDate;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
        private System.Windows.Forms.DataGridViewButtonColumn dataGridViewButtonColumn1;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
        private System.Windows.Forms.ErrorProvider errorProvider1;
        private System.Windows.Forms.Button btnDeleteBill;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
        private System.Windows.Forms.DataGridViewButtonColumn dataGridViewButtonColumn2;
        private System.Windows.Forms.Button btnNewReturnProduct;
        private System.Windows.Forms.Label lblTotalReturnProductPrice;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.DataGridViewTextBoxColumn colRowNumber3;
        private System.Windows.Forms.DataGridViewComboBoxColumn colProductType3;
        private System.Windows.Forms.DataGridViewComboBoxColumn colProducer3;
        private System.Windows.Forms.DataGridViewComboBoxColumn colProduct3;
        private System.Windows.Forms.DataGridViewTextBoxColumn colMaxAmount;
        private System.Windows.Forms.DataGridViewTextBoxColumn colAmountReturn3;
        private System.Windows.Forms.DataGridViewTextBoxColumn colSalePrice3;
        private System.Windows.Forms.DataGridViewTextBoxColumn colTotalPrice3;
        private System.Windows.Forms.DataGridViewButtonColumn colDelete3;
        private System.Windows.Forms.TabPage tabPage3;
        private System.Windows.Forms.Label lblTotalReturn2;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.Button btnReturnProduct2;
        private System.Windows.Forms.DateTimePicker dtpReturnDate2;
        private System.Windows.Forms.Label label15;
        private System.Windows.Forms.RichTextBox txtComment2;
        private System.Windows.Forms.Label label17;
        private System.Windows.Forms.Button btnSaveReturn2;
        private System.Windows.Forms.DataGridView dtgReturnProducts2;
        private System.Windows.Forms.Button btnAddReturnProduct2;
        private System.Windows.Forms.Button btnFindBill2;
        private System.Windows.Forms.Label lblTime2;
        private System.Windows.Forms.Label label16;
        private System.Windows.Forms.Label lblCustomerName2;
        private System.Windows.Forms.Label label14;
        private System.Windows.Forms.Label lblTotalPrice2;
        private System.Windows.Forms.Label label12;
        private System.Windows.Forms.DataGridView dtgBillDetail2;
        private System.Windows.Forms.DataGridViewTextBoxColumn colRowNumber2;
        private System.Windows.Forms.DataGridViewTextBoxColumn colProduct2;
        private System.Windows.Forms.DataGridViewTextBoxColumn colAmount2;
        private System.Windows.Forms.DataGridViewTextBoxColumn colSalePrice2;
        private System.Windows.Forms.DataGridViewTextBoxColumn colTotalPrice2;
        private System.Windows.Forms.DataGridViewTextBoxColumn colBillDetailId2;
        private System.Windows.Forms.Label label13;
        private CustomControls.NumericTextBox txtBillId2;
        private System.Windows.Forms.DataGridViewTextBoxColumn colRowNumber4;
        private System.Windows.Forms.DataGridViewTextBoxColumn colProduct4;
        private System.Windows.Forms.DataGridViewTextBoxColumn colSalePrice4;
        private System.Windows.Forms.DataGridViewTextBoxColumn colAmountReturn4;
        private System.Windows.Forms.DataGridViewTextBoxColumn colMaxAmount4;
        private System.Windows.Forms.DataGridViewTextBoxColumn colTotalPrice4;
        private System.Windows.Forms.DataGridViewButtonColumn colDelete4;
        private System.Windows.Forms.DataGridViewTextBoxColumn colBillDetailId4;
        private System.Windows.Forms.DataGridViewTextBoxColumn colRowNumber;
        private System.Windows.Forms.DataGridViewComboBoxColumn colProductType;
        private System.Windows.Forms.DataGridViewComboBoxColumn colProducer;
        private System.Windows.Forms.DataGridViewComboBoxColumn colProduct;
        private System.Windows.Forms.DataGridViewTextBoxColumn colBarcode;
        private System.Windows.Forms.DataGridViewTextBoxColumn colAmount;
        private System.Windows.Forms.DataGridViewTextBoxColumn colPrice;
        private System.Windows.Forms.DataGridViewTextBoxColumn colDiscount;
        private System.Windows.Forms.DataGridViewTextBoxColumn colSalePrice;
        private System.Windows.Forms.DataGridViewTextBoxColumn colTotalPrice;
        private System.Windows.Forms.DataGridViewTextBoxColumn colWarrantyTime;
        private System.Windows.Forms.DataGridViewTextBoxColumn colBillDetailId;
        private System.Windows.Forms.DataGridViewButtonColumn colDelete;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.Label lblReturnMoney;
        private System.Windows.Forms.TextBox txtGivenMoney;
        private System.Windows.Forms.Label label18;
        private System.Windows.Forms.Button btnPaid;
    }
}